package com.neighbor.neighborhoodadmin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 物品分类表
 * </p>
 *
 * @author song
 * @since 2025-09-22 09:11:23
 */
@Getter
@Setter
@TableName("item_categories")
public class ItemCategories {

    /**
     * 分类唯一ID
     */
    @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;

    /**
     * 分类名称
     */
    @TableField("name")
    private String name;

    /**
     * 分类图标(可选)
     */
    @TableField("icon")
    private String icon;

    /**
     * 排序号(数字越小越靠前)
     */
    @TableField("sort_order")
    private Integer sortOrder;

    /**
     * 状态(1:启用, 2:禁用)
     */
    @TableField("status")
    private Byte status;
}
